/*
 * @Author: zhangweinan
 * @Date: 2023-07-17 14:27:07
 * @LastEditors: Hzt
 * @LastEditTime: 2024-11-03 16:12:48
 * @Description: file content
 * @FilePath: \cty_admin\src\api\userTeam.js
 */
import { post, get } from "@/utils/request";

//设备品牌列表
export function userTeamList(params) {
  return get("/user/team/AllList", params);
}

//设备品牌管理详情
export function fetchDeviceQuery(params) {
  return get("/user/team/query", params);
}

//设备品牌管理保存
export function fetchSaveDeviceBrand(params) {
  return post("/user/team/save", params);
}

//设备品牌删除
export function fetchDeleteDeviceBrand(params) {
  return post(`/user/team/delete?id=${params.id}`);
}

//设置管理者
export function setManager(params) {
  return post(`/user/team/manager`, params);
}

export function deleteProfitByIds(params) {
  return post(`/user/team/deleteProfitByIds`, params);
}
